package com.wenson.behavior.templatemethod;

/**
 * @ClassName: Whale
 * @Author: luowangcheng
 * @Date: 2024/6/15 10:48
 * @Description:
 */
public class Whale extends Mammal{
    public void move(){
        System.out.print("鲸在水里游着……");
    }
    public void eat(){
        System.out.println("捕鱼吃。");
    }
}
